using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("SwipeHandler")]
	public class SwipeHandler : PegUICustomBehavior
	{
		public enum SWIPE_DIRECTION
		{
			RIGHT,
			LEFT
		}

		public Transform m_upperLeftBone => method_3<Transform>("m_upperLeftBone");

		public Transform m_lowerRightBone => method_3<Transform>("m_lowerRightBone");

		public static float SWIPE_DETECT_DURATION => MonoClass.smethod_6<float>(TritonHs.MainAssemblyPath, "", "SwipeHandler", "SWIPE_DETECT_DURATION");

		public static float SWIPE_DETECT_WIDTH => MonoClass.smethod_6<float>(TritonHs.MainAssemblyPath, "", "SwipeHandler", "SWIPE_DETECT_WIDTH");

		public static float SWIPE_FROM_TARGET_PENALTY => MonoClass.smethod_6<float>(TritonHs.MainAssemblyPath, "", "SwipeHandler", "SWIPE_FROM_TARGET_PENALTY");

		public float m_swipeDetectTimer => method_2<float>("m_swipeDetectTimer");

		public bool m_checkingPossibleSwipe => method_2<bool>("m_checkingPossibleSwipe");

		public Vector3 m_swipeStart => method_2<Vector3>("m_swipeStart");

		public PegUIElement m_swipeElement => method_3<PegUIElement>("m_swipeElement");

		public Rect m_swipeRect => method_2<Rect>("m_swipeRect");

		public SwipeHandler(IntPtr address, string className)
			: base(address, className)
		{
		}

		public SwipeHandler(IntPtr address)
			: this(address, "SwipeHandler")
		{
		}

		public new bool UpdateUI()
		{
			return method_11<bool>("UpdateUI", Array.Empty<object>());
		}

		public bool InSwipeRect(Vector2 v)
		{
			return method_11<bool>("InSwipeRect", new object[1] { v });
		}

		public bool CheckSwipe()
		{
			return method_11<bool>("CheckSwipe", Array.Empty<object>());
		}

		public bool HandleSwipeGesture()
		{
			return method_11<bool>("HandleSwipeGesture", Array.Empty<object>());
		}
	}
}
